<?php


namespace app\model;
use think\Model;

class Cat extends Model
{
    public function getCat(){
        $catList = Cat::where('status',1)->select();
        return $catList;
    }

}